#include <iostream>
#include "FutureEye.h"
#include "boost/filesystem.hpp"
#include "guieof.h"
#include "gflags.h"

#include "QtGui/QtGui"

using namespace boost::filesystem;

DEFINE_string(v, "normal.wmv", "set video name");

void dealOptions(FutureEye& eye) {
	eye.setVideo(FLAGS_v);
}

int main(int argc, char** argv)
{
	google::ParseCommandLineFlags(&argc, &argv, false);

	FutureEye *eye = FutureEye::GetInstance();

	eye->init();
	dealOptions(*eye);

	eye->startup();
	return 0;
}
